import Vue from 'vue'
import VueRouter from 'vue-router'
// import Home from '../views/Home.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: () => import('../views/login.vue'),
    meta:{
      title:'login'
    }
  },
  {
    path: '/login',
    name: 'Login',
    component: () => import('../views/login.vue'),
    meta:{
      title:'login'
    }
  },
  {
    path: '/user',
    name: 'User',
    component: () => import('../views/User.vue'),
    meta:{
      title:'user'
    }
  },
  {
    path: '/apply',
    name: 'Apply',
    component: () => import('../views/Apply.vue'),
    meta:{
      title:'apply'
    }
  },
  {
    path: '/service',
    name: 'service',
    component: () => import('../views/ApplyNow/Service.vue'),
    meta:{
      title:'service'
    }
  },
  {
    path: '/position',
    name: 'position',
    component: () => import('../views/ApplyNow/Position.vue'),
    meta:{
      title:'position'
    }
  },
  {
    path: '/ohodonticTest',
    name: 'ohodonticTest',
    component: () => import('../views/ApplyNow/OhodonticTest.vue'),
    meta:{
      title:'ohodonticTest'
    }
  },
  {
    path: '/medicalBillingTest',
    name: 'medicalBillingTest',
    component: () => import('../views/ApplyNow/medicalBillingTest.vue'),
    meta:{
      title:'medicalBillingTest'
    }
  },
  {
    path: "/insuranceVerificationTest",
    name: 'insuranceVerificationTest',
    component: () => import('../views/ApplyNow/insuranceVerificationTest.vue'),
    meta:{
      title:'insuranceVerificationTest'
    }
  },
  {
    path: "/oralSurgeryTest",
    name: 'oralSurgeryTest',
    component: () => import('../views/ApplyNow/oralSurgeryTest.vue'),
    meta:{
      title:'oralSurgeryTest'
    }
  },
  {
    path: "/dentalBillingTest",
    name: 'dentalBillingTest',
    component: () => import('../views/ApplyNow/dentalBillingTest.vue'),
    meta:{
      title:'dentalBillingTest'
    }
  },{
    path: "/colorTest",
    name: "colorTest",
    component:()=>import('../views/ApplyNow/colorTest.vue'),
    meta: {
      title: 'colorTest'
    }
  },{
  path: "/colorChart",
    name:"colorChart",
    component:()=>import('../views/ApplyNow/colorChart.vue'),
    meta: {
      title: "colorChart"
    }
  },{
    path: "/hollandTest",
    name: "hollandTest",
    component:()=>import('../views/ApplyNow/hollandTest.vue'),
    meta: {
      title: "hollandTest"
    }
  }
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
